package com.rota.mapper;

import com.rota.domain.Article;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ArticleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Article record);

    Article selectByPrimaryKey(Long id);

    List<Article> selectAll();

    int updateByPrimaryKey(Article record);

	List<Article> getArticleByCode(String articleTypeCode);
}